#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int arr[10] = { 1,2,17,4,15,1,2,3,17,4 };
	for (int i = 0; i < 10; i++)
	{
		int k = 1;
		for (int j = 0; j < 10; j++)
		{
			if (arr[j] == arr[i] && i != j)
			{
				k = 0;
				continue;
			}
		}
		if (k!=0)
		{
			printf("%d ", arr[i]);
			printf("%d ", arr[i]);

		}
	}
	return 0;
}